
function searchSubmit(form, type)
{
	form.searchType.value=type;
}

function setALT(item,alt)
{
	if(item.value=="") item.value=alt;
}

function clsALT(item,alt)
{
	if(item.value==alt) item.value="";
}

function goBack(way)
{
	if(window.opener==null) window.history.back(-1);
		
	else
	{
		if(way) window.opener.location.reload();//success to reload
		window.close();
	}
}

function jump(meth, target, currentpage)
{
	target.action += "&page=";
	target.action += currentpage;
	target.submit();
	
}
function clsPageToGen(form)
{
	//form.pageToGen.value=1;
}